
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>SAMBA · AGou's StudyNote</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="AGou">
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-anchors/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-tbfed-pagefooter/footer.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-anchor-navigation-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-prism/prism-tomorrow.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-insert-logo/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search-pro/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-lightbox/css/lightbox.min.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-donate/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-code/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="../Linux_Tools/" />
    
    
    <link rel="prev" href="FTP.html" />
    

    <style>
    @media only screen and (max-width: 640px) {
        .book-header .hidden-mobile {
            display: none;
        }
    }
    </style>
    <script>
        window["gitbook-plugin-github-buttons"] = {"repo":"AGou-ops/myStudyNote","types":["star","watch","fork"],"size":"small"};
    </script>

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    
    
        
        <li>
            <a href="http://agou-ops.github.io" target="_blank" class="custom-link">◆点击进入我的个人博客</a>
        </li>
    
    

    
    <li class="divider"></li>
    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                        <b>1.1.</b>
                    
                    关于我
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../Program_lang/">
            
                <a href="../Program_lang/">
            
                    
                        <b>1.2.</b>
                    
                    编程语言
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../Program_lang/Python.html">
            
                <a href="../Program_lang/Python.html">
            
                    
                        <b>1.2.1.</b>
                    
                    Python
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../Program_lang/Java.html">
            
                <a href="../Program_lang/Java.html">
            
                    
                        <b>1.2.2.</b>
                    
                    Java
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="../Program_lang/Splash_Lua.html">
            
                <a href="../Program_lang/Splash_Lua.html">
            
                    
                        <b>1.2.3.</b>
                    
                    Splash_Lua
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../Database/">
            
                <a href="../Database/">
            
                    
                        <b>1.3.</b>
                    
                    数据库
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../Database/Mysql、MariaDB/README.md">
            
                <span>
            
                    
                        <b>1.3.1.</b>
                    
                    Mysql/MariaDB
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1.1" data-path="../Database/Mysql、MariaDB/MySQL、MariaDB基础.html">
            
                <a href="../Database/Mysql、MariaDB/MySQL、MariaDB基础.html">
            
                    
                        <b>1.3.1.1.</b>
                    
                    MySQL/MariaDB基础
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.1.2" data-path="../Database/Mysql、MariaDB/php-mysql.html">
            
                <a href="../Database/Mysql、MariaDB/php-mysql.html">
            
                    
                        <b>1.3.1.2.</b>
                    
                    php-mysql
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../Database/MongoDB.html">
            
                <a href="../Database/MongoDB.html">
            
                    
                        <b>1.3.2.</b>
                    
                    MongoDB
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="../Database/Redis.html">
            
                <a href="../Database/Redis.html">
            
                    
                        <b>1.3.3.</b>
                    
                    Redis
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../Linux/">
            
                <a href="../Linux/">
            
                    
                        <b>1.4.</b>
                    
                    Linux
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../Linux/Linux基础.html">
            
                <a href="../Linux/Linux基础.html">
            
                    
                        <b>1.4.1.</b>
                    
                    Linux基础
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../Linux/Linux启动流程、内核、grub、模块、内核的编译、anaconda自动化.html">
            
                <a href="../Linux/Linux启动流程、内核、grub、模块、内核的编译、anaconda自动化.html">
            
                    
                        <b>1.4.2.</b>
                    
                    Linux启动流程、内核、grub、模块等
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="../Linux/Linux服务器.html">
            
                <a href="../Linux/Linux服务器.html">
            
                    
                        <b>1.4.3.</b>
                    
                    Linux服务器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="../Linux/Linux状态信息.html">
            
                <a href="../Linux/Linux状态信息.html">
            
                    
                        <b>1.4.4.</b>
                    
                    Linux状态信息
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5" data-path="../Linux/Linux网络客户端工具.html">
            
                <a href="../Linux/Linux网络客户端工具.html">
            
                    
                        <b>1.4.5.</b>
                    
                    Linux网络客户端工具
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.6" data-path="../Linux/Linux网络配置.html">
            
                <a href="../Linux/Linux网络配置.html">
            
                    
                        <b>1.4.6.</b>
                    
                    Linux网络配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.7" data-path="../Linux/Linux配置文件.md">
            
                <span>
            
                    
                        <b>1.4.7.</b>
                    
                    Linux配置文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.8" data-path="../Linux/Linux时间服务器.html">
            
                <a href="../Linux/Linux时间服务器.html">
            
                    
                        <b>1.4.8.</b>
                    
                    Linux时间服务器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.9" data-path="../Linux/Linux日志管理系统.html">
            
                <a href="../Linux/Linux日志管理系统.html">
            
                    
                        <b>1.4.9.</b>
                    
                    Linux日志管理系统
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.10" data-path="../Linux/sudo详解.html">
            
                <a href="../Linux/sudo详解.html">
            
                    
                        <b>1.4.10.</b>
                    
                    sudo详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.11" data-path="../Linux/SElinux.html">
            
                <a href="../Linux/SElinux.html">
            
                    
                        <b>1.4.11.</b>
                    
                    SELinux
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.12" data-path="../Linux/iptables.html">
            
                <a href="../Linux/iptables.html">
            
                    
                        <b>1.4.12.</b>
                    
                    iptables
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.13" data-path="../Linux/Linux_shell.html">
            
                <a href="../Linux/Linux_shell.html">
            
                    
                        <b>1.4.13.</b>
                    
                    Linux Shell
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.14" data-path="../Linux/shell_awk.html">
            
                <a href="../Linux/shell_awk.html">
            
                    
                        <b>1.4.14.</b>
                    
                    shell_awk
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.15" data-path="../Linux/OpenSSL、PKI搭建、算法.html">
            
                <a href="../Linux/OpenSSL、PKI搭建、算法.html">
            
                    
                        <b>1.4.15.</b>
                    
                    OpenSSL、PKI搭建
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.16" data-path="../Linux/DNS服务器.html">
            
                <a href="../Linux/DNS服务器.html">
            
                    
                        <b>1.4.16.</b>
                    
                    DNS服务器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.17" data-path="../Linux/Frp内网穿透.html">
            
                <a href="../Linux/Frp内网穿透.html">
            
                    
                        <b>1.4.17.</b>
                    
                    Frp内网穿透
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.18" data-path="../Linux/Linux其他.md">
            
                <span>
            
                    
                        <b>1.4.18.</b>
                    
                    Linux其他
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="./">
            
                <a href="./">
            
                    
                        <b>1.5.</b>
                    
                    Linux文件系统
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="FTP.html">
            
                <a href="FTP.html">
            
                    
                        <b>1.5.1.</b>
                    
                    FTP
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.5.2" data-path="SAMBA.html">
            
                <a href="SAMBA.html">
            
                    
                        <b>1.5.2.</b>
                    
                    SAMBA
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../Linux_Tools/">
            
                <a href="../Linux_Tools/">
            
                    
                        <b>1.6.</b>
                    
                    Linux工具
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../Linux_Tools/fzf工具.html">
            
                <a href="../Linux_Tools/fzf工具.html">
            
                    
                        <b>1.6.1.</b>
                    
                    fzf工具
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../Linux_Tools/工具集合.html">
            
                <a href="../Linux_Tools/工具集合.html">
            
                    
                        <b>1.6.2.</b>
                    
                    Linux工具集合
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../WEB_Server/">
            
                <a href="../WEB_Server/">
            
                    
                        <b>1.7.</b>
                    
                    网站服务器
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" data-path="../WEB_Server/HTML基础.html">
            
                <a href="../WEB_Server/HTML基础.html">
            
                    
                        <b>1.7.1.</b>
                    
                    HTML基础
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.2" data-path="../WEB_Server/WEB基础.html">
            
                <a href="../WEB_Server/WEB基础.html">
            
                    
                        <b>1.7.2.</b>
                    
                    WEB基础
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3" data-path="../WEB_Server/httpd.html">
            
                <a href="../WEB_Server/httpd.html">
            
                    
                        <b>1.7.3.</b>
                    
                    httpd/Apache
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.4" data-path="../WEB_Server/httpd.conf文件详解.html">
            
                <a href="../WEB_Server/httpd.conf文件详解.html">
            
                    
                        <b>1.7.4.</b>
                    
                    httpd.conf文件详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.5" data-path="../WEB_Server/Nginx.html">
            
                <a href="../WEB_Server/Nginx.html">
            
                    
                        <b>1.7.5.</b>
                    
                    Nginx
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.6" data-path="../WEB_Server/HTTP状态码-详情.html">
            
                <a href="../WEB_Server/HTTP状态码-详情.html">
            
                    
                        <b>1.7.6.</b>
                    
                    HTTP状态码-详情
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="../Common_Framework/">
            
                <a href="../Common_Framework/">
            
                    
                        <b>1.8.</b>
                    
                    常用框架
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.8.1" data-path="../Common_Framework/LNMP.html">
            
                <a href="../Common_Framework/LNMP.html">
            
                    
                        <b>1.8.1.</b>
                    
                    LNMP
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.2" data-path="../Common_Framework/LAMP.html">
            
                <a href="../Common_Framework/LAMP.html">
            
                    
                        <b>1.8.2.</b>
                    
                    LAMP
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="../Docker&K8s/">
            
                <a href="../Docker&K8s/">
            
                    
                        <b>1.9.</b>
                    
                    容器及容器编排
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.9.1" data-path="../Docker&K8s/Docker/Docker.html">
            
                <a href="../Docker&K8s/Docker/Docker.html">
            
                    
                        <b>1.9.1.</b>
                    
                    Docker
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.9.1.1" data-path="../Docker&K8s/Docker/Docker.html">
            
                <a href="../Docker&K8s/Docker/Docker.html">
            
                    
                        <b>1.9.1.1.</b>
                    
                    Docker
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.9.2" data-path="../Docker&K8s/K8s/">
            
                <a href="../Docker&K8s/K8s/">
            
                    
                        <b>1.9.2.</b>
                    
                    K8s
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.9.2.1" data-path="../Docker&K8s/K8s/K8s基础知识.html">
            
                <a href="../Docker&K8s/K8s/K8s基础知识.html">
            
                    
                        <b>1.9.2.1.</b>
                    
                    K8s基础知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.2.2" data-path="../Docker&K8s/K8s/K8s安装与部署.html">
            
                <a href="../Docker&K8s/K8s/K8s安装与部署.html">
            
                    
                        <b>1.9.2.2.</b>
                    
                    K8s安装与部署
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="../Git/">
            
                <a href="../Git/">
            
                    
                        <b>1.10.</b>
                    
                    Git
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.10.1" data-path="../Git/Git基础.html">
            
                <a href="../Git/Git基础.html">
            
                    
                        <b>1.10.1.</b>
                    
                    Git基础
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.2" data-path="../Git/GitLab服务器.html">
            
                <a href="../Git/GitLab服务器.html">
            
                    
                        <b>1.10.2.</b>
                    
                    GitLab服务器
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.11" data-path="../Windows/">
            
                <a href="../Windows/">
            
                    
                        <b>1.11.</b>
                    
                    Windows系统
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.11.1" data-path="../Windows/cmd命令.html">
            
                <a href="../Windows/cmd命令.html">
            
                    
                        <b>1.11.1.</b>
                    
                    cmd命令
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.12" data-path="../Vim.html">
            
                <a href="../Vim.html">
            
                    
                        <b>1.12.</b>
                    
                    Vim
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13" data-path="../i3WM快捷键.html">
            
                <a href="../i3WM快捷键.html">
            
                    
                        <b>1.13.</b>
                    
                    i3WM快捷键
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.14" data-path="../ADB命令.html">
            
                <a href="../ADB命令.html">
            
                    
                        <b>1.14.</b>
                    
                    ADB命令
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15" data-path="../Tmux.html">
            
                <a href="../Tmux.html">
            
                    
                        <b>1.15.</b>
                    
                    Tmux
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.16" data-path="../Kindle.html">
            
                <a href="../Kindle.html">
            
                    
                        <b>1.16.</b>
                    
                    Kindle越狱指南
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.17" data-path="../Other/">
            
                <a href="../Other/">
            
                    
                        <b>1.17.</b>
                    
                    Other
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.17.1" data-path="../Other/pandoc.html">
            
                <a href="../Other/pandoc.html">
            
                    
                        <b>1.17.1.</b>
                    
                    pandoc
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.17.2" data-path="../Other/jupyter&reveal.js.html">
            
                <a href="../Other/jupyter&reveal.js.html">
            
                    
                        <b>1.17.2.</b>
                    
                    jupyter & reveal.js
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.17.3" data-path="../Other/json.html">
            
                <a href="../Other/json.html">
            
                    
                        <b>1.17.3.</b>
                    
                    json
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.17.4" data-path="../Other/Reveal_js.html">
            
                <a href="../Other/Reveal_js.html">
            
                    
                        <b>1.17.4.</b>
                    
                    Reveal_js
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >SAMBA</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <div id="anchor-navigation-ex-navbar"><i class="fa fa-anchor"></i><ul><li><a href="#samba&#x76F8;&#x5173;">1. SAMBA&#x76F8;&#x5173;</a></li><li><a href="#&#x6240;&#x9700;&#x8F6F;&#x4EF6;&#x53CA;&#x5B88;&#x62A4;&#x8FDB;&#x7A0B;&#x8BF4;&#x660E;">2. &#x6240;&#x9700;&#x8F6F;&#x4EF6;&#x53CA;&#x5B88;&#x62A4;&#x8FDB;&#x7A0B;&#x8BF4;&#x660E;</a></li><li><a href="#samba&#x5B89;&#x88C5;&#x4E0E;&#x4F7F;&#x7528;">3. SAMBA&#x5B89;&#x88C5;&#x4E0E;&#x4F7F;&#x7528;</a></li><ul><li><a href="#&#x4F7F;&#x7528;yum&#x5B89;&#x88C5;smaba">3.1. &#x4F7F;&#x7528;yum&#x5B89;&#x88C5;SMABA</a></li><li><a href="#samba&#x7684;&#x7B80;&#x5355;&#x4F7F;&#x7528;&#x5355;&#x7528;&#x6237;">3.2. SAMBA&#x7684;&#x7B80;&#x5355;&#x4F7F;&#x7528;(&#x5355;&#x7528;&#x6237;)</a></li><li><a href="#samba&#x5171;&#x4EAB;&#x76EE;&#x5F55;">3.3. SAMBA&#x5171;&#x4EAB;&#x76EE;&#x5F55;</a></li><li><a href="#smbconf-&#x914D;&#x7F6E;&#x8BE6;&#x89E3;">3.4. smb.conf &#x914D;&#x7F6E;&#x8BE6;&#x89E3;</a></li><li><a href="#windowslinux&#x5BA2;&#x6237;&#x7AEF;&#x6302;&#x8F7D;samba">3.5. Windows/Linux&#x5BA2;&#x6237;&#x7AEF;&#x6302;&#x8F7D;SAMBA</a></li></ul><li><a href="#pdbedit&#x3001;smbpasswd&#x3001;smbclient&#x7684;&#x4F7F;&#x7528;">4. pdbedit&#x3001;smbpasswd&#x3001;smbclient&#x7684;&#x4F7F;&#x7528;</a></li><ul><li><a href="#pdbedit&#x589E;&#x5220;&#x7528;&#x6237;----passdbtdb-&#x5E93;&#x4E2D;">4.1. pdbedit(&#x589E;&#x5220;&#x7528;&#x6237; --&gt; passdb.tdb &#x5E93;&#x4E2D;)</a></li><li><a href="#smbpasswd&#x589E;&#x5220;&#x7528;&#x6237;----&#x5355;&#x72EC;&#x6587;&#x4EF6;&#x4E2D;">4.2. smbpasswd(&#x589E;&#x5220;&#x7528;&#x6237; --&gt; &#x5355;&#x72EC;&#x6587;&#x4EF6;&#x4E2D;)</a></li><li><a href="#smbclient&#x5BA2;&#x6237;&#x7AEF;&#x5DE5;&#x5177;">4.3. smbclient(&#x5BA2;&#x6237;&#x7AEF;&#x5DE5;&#x5177;)</a></li></ul><li><a href="#samba-swatsmaba&#x7684;web&#x7BA1;&#x7406;&#x5DE5;&#x5177;">5. samba-swat(SMABA&#x7684;WEB&#x7BA1;&#x7406;&#x5DE5;&#x5177;)</a></li><ul><li><a href="#swat&#x7684;&#x5B89;&#x88C5;">5.1. SWAT&#x7684;&#x5B89;&#x88C5;</a></li><li><a href="#&#x914D;&#x7F6E;&#x4E0E;&#x542F;&#x52A8;">5.2. &#x914D;&#x7F6E;&#x4E0E;&#x542F;&#x52A8;</a></li></ul></ul></div><a href="#samba&#x76F8;&#x5173;" id="anchorNavigationExGoTop"><i class="fa fa-arrow-up"></i></a><blockquote>
<p>Samba&#x662F;&#x5728;Linux&#x548C;UNIX&#x7CFB;&#x7EDF;&#x4E0A;&#x5B9E;&#x73B0;SMB&#x534F;&#x8BAE;&#x7684;&#x4E00;&#x4E2A;&#x514D;&#x8D39;&#x8F6F;&#x4EF6;&#xFF0C;&#x4E3B;&#x8981;&#x7528;&#x4E8E;&#x5B9E;&#x73B0;Windows&#x548C;Linux&#x4E4B;&#x95F4;&#x4E92;&#x76F8;&#x5171;&#x4EAB;&#x8D44;&#x6E90;.</p>
</blockquote>
<h1 id="samba&#x76F8;&#x5173;"><a name="samba&#x76F8;&#x5173;" class="anchor-navigation-ex-anchor" href="#samba&#x76F8;&#x5173;"><i class="fa fa-link" aria-hidden="true"></i></a>1. SAMBA&#x76F8;&#x5173;</h1>
<p><code>SMB&#xFF08;Server Message Block&#xFF09;&#x901A;&#x4FE1;&#x534F;&#x8BAE;</code>&#xFF1A;&#x662F;&#x5FAE;&#x8F6F;&#xFF08;Microsoft&#xFF09;&#x548C;&#x82F1;&#x7279;&#x5C14;(Intel)&#x5728;1987&#x5E74;&#x5236;&#x5B9A;&#x7684;&#x534F;&#x8BAE;&#xFF0C;&#x4E3B;&#x8981;&#x662F;&#x4F5C;&#x4E3A;Microsoft&#x7F51;&#x7EDC;&#x7684;&#x901A;&#x8BAF;&#x534F;&#x8BAE;&#xFF0C;SMB&#x534F;&#x8BAE;&#x5728;&#x5C40;&#x57DF;&#x7F51;&#x4E0A;&#x7528;&#x4E8E;&#x670D;&#x52A1;&#x5668;&#x6587;&#x4EF6;&#x8BBF;&#x95EE;&#x548C;&#x6253;&#x5370;&#x7684;&#x534F;&#x8BAE;&#x3002;SMB &#x662F;&#x5728;&#x4F1A;&#x8BDD;&#x5C42;&#xFF08;session layer&#xFF09;&#x548C;&#x8868;&#x793A;&#x5C42;&#xFF08;presentation layer&#xFF09;&#x4EE5;&#x53CA;&#x5C0F;&#x90E8;&#x5206;&#x5E94;&#x7528;&#x5C42;&#xFF08;application layer&#xFF09;&#x7684;&#x534F;&#x8BAE;&#x3002;</p>
<p><code>CIFS (Common Internet File System)</code>&#xFF1A;&#x901A;&#x7528;Internet&#x6587;&#x4EF6;&#x7CFB;&#x7EDF;&#xFF0C;&#x5728;windows&#x4E3B;&#x673A;&#x4E4B;&#x95F4;&#x8FDB;&#x884C;&#x7F51;&#x7EDC;&#x6587;&#x4EF6;&#x5171;&#x4EAB;&#x662F;&#x901A;&#x8FC7;&#x4F7F;&#x7528;&#x5FAE;&#x8F6F;&#x516C;&#x53F8;&#x81EA;&#x5DF1;&#x7684;CIFS&#x670D;&#x52A1;&#x5B9E;&#x73B0;&#x7684;&#xFF0C;&#x4F8B;&#x5982;&#xFF1A;Windows&#x7684;&#x7F51;&#x4E0A;&#x90BB;&#x5C45;&#x529F;&#x80FD;</p>
<p>SMB&#x534F;&#x8BAE;&#x7684;&#x5B9E;&#x73B0;&#x5728;Windows&#x4E0A;&#x662F;<code>CIFS</code>&#xFF0C;&#x5728;Linux&#x7CFB;&#x7EDF;&#x4E0A;&#x662F;<code>SMABA</code></p>
<blockquote>
<p>Samba&#x670D;&#x52A1;&#x91C7;&#x7528;C/S&#x6A21;&#x5F0F;,&#xFF0C;&#x5176;&#x5DE5;&#x4F5C;&#x673A;&#x5236;&#x662F;&#x8BA9;<code>NetBIOS</code>&#xFF08;Windows &#x7F51;&#x4E0A;&#x90BB;&#x5C45;&#x7684;&#x901A;&#x4FE1;&#x534F;&#x8BAE;&#xFF09;&#x548C;<code>SMB</code>&#x4E24;&#x4E2A;&#x534F;&#x8BAE;&#x8FD0;&#x884C;&#x4E8E;TCP/IP&#x901A;&#x4FE1;&#x534F;&#x8BAE;&#x4E4B;&#x4E0A;&#xFF0C;&#x5E76;&#x4E14;&#x7528;NetBIOS&#x534F;&#x8BAE;&#x8BA9;Windows&#x5728;&#x201C;&#x7F51;&#x4E0A;&#x90BB;&#x5C45;&#x201D;&#x4E2D;&#x80FD;&#x6D4F;&#x89C8;Linux&#x670D;&#x52A1;&#x5668;&#x3002;Samba&#x670D;&#x52A1;&#x5668;&#x65E2;&#x53EF;&#x4EE5;&#x5145;&#x5F53;&#x6587;&#x4EF6;&#x5171;&#x4EAB;&#x670D;&#x52A1;&#x5668;&#xFF0C;&#x4E5F;&#x53EF;&#x4EE5;&#x5145;&#x5F53;&#x4E00;&#x4E2A;Samba&#x7684;&#x5BA2;&#x6237;&#x7AEF;&#xFF0C;&#x4F8B;&#x5982;&#xFF0C;&#x4E00;&#x53F0;&#x5728;Linux &#x4E0B;&#x5DF2;&#x7ECF;&#x67B6;&#x8BBE;&#x597D;&#x7684;Samba&#x670D;&#x52A1;&#x5668;&#xFF0C;windows&#x5BA2;&#x6237;&#x7AEF;&#x5C31;&#x53EF;&#x4EE5;&#x901A;&#x8FC7;SMB&#x534F;&#x8BAE;&#x5171;&#x4EAB;Samba&#x670D;&#x52A1;&#x5668;&#x4E0A;&#x7684;&#x8D44;&#x6E90;&#x6587;&#x4EF6;&#xFF0C;&#x540C;&#x65F6;&#xFF0C;Samba&#x670D;&#x52A1;&#x5668;&#x4E5F;&#x53EF;&#x4EE5;&#x8BBF;&#x95EE;&#x7F51;&#x7EDC;&#x4E2D; &#x5176;&#x5B83;windows&#x7CFB;&#x7EDF;&#x6216;&#x8005;Linux&#x7CFB;&#x7EDF;&#x5171;&#x4EAB;&#x51FA;&#x6765;&#x7684;&#x6587;&#x4EF6;</p>
<p>FROM:<a href="https://blog.51cto.com/itwish/2174270" target="_blank">https://blog.51cto.com/itwish/2174270</a></p>
</blockquote>
<h1 id="&#x6240;&#x9700;&#x8F6F;&#x4EF6;&#x53CA;&#x5B88;&#x62A4;&#x8FDB;&#x7A0B;&#x8BF4;&#x660E;"><a name="&#x6240;&#x9700;&#x8F6F;&#x4EF6;&#x53CA;&#x5B88;&#x62A4;&#x8FDB;&#x7A0B;&#x8BF4;&#x660E;" class="anchor-navigation-ex-anchor" href="#&#x6240;&#x9700;&#x8F6F;&#x4EF6;&#x53CA;&#x5B88;&#x62A4;&#x8FDB;&#x7A0B;&#x8BF4;&#x660E;"><i class="fa fa-link" aria-hidden="true"></i></a>2. &#x6240;&#x9700;&#x8F6F;&#x4EF6;&#x53CA;&#x5B88;&#x62A4;&#x8FDB;&#x7A0B;&#x8BF4;&#x660E;</h1>
<p>Samba&#x6240;&#x9700;&#x8F6F;&#x4EF6;&#x5305;&#x62EC;&#xFF1A;</p>
<ul>
<li>Samba&#xFF08;&#x670D;&#x52A1;&#x5668;&#x7AEF;&#x8F6F;&#x4EF6;&#x5305;&#xFF09;</li>
<li>Samba-client&#xFF08;&#x5BA2;&#x6237;&#x7AEF;&#x8F6F;&#x4EF6;&#x5305;&#xFF09;</li>
<li>Samba-common&#xFF08;Samba&#x516C;&#x5171;&#x6587;&#x4EF6;&#x8F6F;&#x4EF6;&#x5305;&#xFF09;</li>
<li>Samba-Winbind&#xFF08;&#x4F7F;&#x7528; Windows &#x57DF;&#x63A7;&#x5236;&#x5668;&#x7BA1;&#x7406; Linux &#x5E10;&#x6237;&#xFF09;</li>
</ul>
<p>Samba&#x7531;<code>smbd</code>&#x548C; <code>nmbd</code>&#x4E24;&#x4E2A;&#x5B88;&#x62A4;&#x8FDB;&#x7A0B;&#x7EC4;&#x6210;&#xFF1A;</p>
<ul>
<li><p><code>smbd</code>&#x670D;&#x52A1;&#x8FDB;&#x7A0B;&#x662F;Samba&#x7684;&#x6838;&#x5FC3;&#x542F;&#x52A8;&#x670D;&#x52A1;&#xFF0C;&#x7528;&#x4E8E;&#x63D0;&#x4F9B;<code>smb/cifs</code>&#x670D;&#x52A1;&#xFF0C;&#x4E3B;&#x8981;&#x8D1F;&#x8D23;&#x5EFA;&#x7ACB; Linux Samba&#x670D;&#x52A1;&#x5668;&#x4E0E;Samba&#x5BA2;&#x6237;&#x673A;&#x4E4B;&#x95F4;&#x7684;&#x5BF9;&#x8BDD;&#xFF0C;&#x4E3A;&#x5BA2;&#x6237;&#x7AEF;&#x63D0;&#x4F9B;&#x6587;&#x4EF6;&#x5171;&#x4EAB;&#x4E0E;&#x6253;&#x5370;&#x673A;&#x670D;&#x52A1;&#x53CA;&#x8D1F;&#x8D23;&#x7528;&#x6237;&#x6743;&#x9650;&#x9A8C;&#x8BC1;&#x4EE5;&#x53CA;&#x9501;&#x529F;&#x80FD;&#xFF0C;smdb&#x9ED8;&#x8BA4;&#x76D1;&#x542C;&#x7AEF;&#x53E3;&#x662F; <strong>139 &#x4E0E; 445 TCP</strong>&#x7AEF;&#x53E3;</p>
</li>
<li><p><code>nmbd</code>&#x8FDB;&#x7A0B;&#x63D0;&#x4F9B;<code>NetBIOS</code>&#x540D;&#x79F0;&#x670D;&#x52A1;&#xFF0C;&#x7528;&#x4E8E;&#x5B9E;&#x73B0;Windows&#x8BBF;&#x95EE;Linux&#x6587;&#x4EF6;&#xFF0C;&#x4EE5;&#x6EE1;&#x8DB3;&#x57FA;&#x4E8E;Common Internet File System(<code>CIFS</code>)&#x534F;&#x8BAE;&#x7684;&#x5171;&#x4EAB;&#x8BBF;&#x95EE;&#x73AF;&#x5883;&#xFF08;&#x7C7B;&#x4F3C;&#x4E0E;DNS&#x5B9E;&#x73B0;&#x7684;&#x529F;&#x80FD;&#xFF0C;&#x5B9E;&#x73B0;&#x628A;Linux&#x7CFB;&#x7EDF;&#x5171;&#x4EAB;&#x7684;&#x5DE5;&#x4F5C;&#x7EC4;&#x540D;&#x79F0;&#x4E0E;&#x5176;IP&#x5BF9;&#x5E94;&#x8D77;&#x6765;&#xFF09;&#xFF0C;Samba&#x901A;&#x8FC7;nmb &#x670D;&#x52A1;&#x542F;&#x52A8; nmbd&#x8FDB;&#x7A0B;&#xFF0C;&#x8BE5;&#x8FDB;&#x7A0B;<strong>&#x9ED8;&#x8BA4;&#x76D1;&#x542C;&#x7684;&#x662F;137&#x4E0E; 138 UDP</strong>&#x7AEF;&#x53E3;</p>
</li>
</ul>
<h1 id="samba&#x5B89;&#x88C5;&#x4E0E;&#x4F7F;&#x7528;"><a name="samba&#x5B89;&#x88C5;&#x4E0E;&#x4F7F;&#x7528;" class="anchor-navigation-ex-anchor" href="#samba&#x5B89;&#x88C5;&#x4E0E;&#x4F7F;&#x7528;"><i class="fa fa-link" aria-hidden="true"></i></a>3. SAMBA&#x5B89;&#x88C5;&#x4E0E;&#x4F7F;&#x7528;</h1>
<h2 id="&#x4F7F;&#x7528;yum&#x5B89;&#x88C5;smaba"><a name="&#x4F7F;&#x7528;yum&#x5B89;&#x88C5;smaba" class="anchor-navigation-ex-anchor" href="#&#x4F7F;&#x7528;yum&#x5B89;&#x88C5;smaba"><i class="fa fa-link" aria-hidden="true"></i></a>3.1. &#x4F7F;&#x7528;yum&#x5B89;&#x88C5;SMABA</h2>
<pre class="language-"><code class="lang-bash"><span class="token comment"># &#x670D;&#x52A1;&#x5668;&#x7AEF;&#x7A0B;&#x5E8F;</span>
yum <span class="token function">install</span> -y smaba
<span class="token comment"># &#x5BA2;&#x6237;&#x7AEF;&#x7A0B;&#x5E8F;</span>
yum <span class="token function">install</span> -y smaba-client
</code></pre>
<h2 id="samba&#x7684;&#x7B80;&#x5355;&#x4F7F;&#x7528;&#x5355;&#x7528;&#x6237;"><a name="samba&#x7684;&#x7B80;&#x5355;&#x4F7F;&#x7528;&#x5355;&#x7528;&#x6237;" class="anchor-navigation-ex-anchor" href="#samba&#x7684;&#x7B80;&#x5355;&#x4F7F;&#x7528;&#x5355;&#x7528;&#x6237;"><i class="fa fa-link" aria-hidden="true"></i></a>3.2. SAMBA&#x7684;&#x7B80;&#x5355;&#x4F7F;&#x7528;(&#x5355;&#x7528;&#x6237;)</h2>
<ol>
<li>&#x4FEE;&#x6539;smb.conf&#x53C2;&#x6570;&#xFF08;&#x4E0D;&#x4FEE;&#x6539;&#x9ED8;&#x8BA4;&#x4E5F;&#x53EF;&#x4EE5;&#x76F4;&#x63A5;&#x8FD0;&#x884C;samba&#xFF09;&#xFF1A;</li>
</ol>
<pre class="language-"><code class="lang-shell"><span class="token comment">#======================= Global Settings =====================================</span>
<span class="token comment"># ----------------------- Network-Related Options -------------------------</span>
<span class="token comment"># interfaces&#x9009;&#x9879;&#xFF0C;&#x503C;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;&#x7F51;&#x5361;&#x540D;&#xFF0C;&#x4E5F;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;&#x7F51;&#x5361;&#x5730;&#x5740;&#xFF0C;&#x9ED8;&#x8BA4;&#x4E3A;&#x6240;&#x6709;&#x5730;&#x5740;&#xFF0C;&#x6BD4;&#x5982;&#xFF1A;</span>
interfaces <span class="token operator">=</span> lo ens33 <span class="token number">172.16</span>.122.            <span class="token comment"># &#x7B80;&#x5355;&#x5199;&#x6CD5;172.16.122.    &#x8868;&#x793A;172.16.122.0/24&#x7F51;&#x6BB5;&#x7684;&#x5730;&#x5740;</span>
<span class="token comment"># --------------------------- Logging Options -----------------------------</span>
<span class="token comment"># &#x65E5;&#x5FD7;&#x6EDA;&#x52A8;&#x5206;&#x5272;</span>
<span class="token comment"># log file = specify where log files are written to and how they are split</span>
<span class="token comment"># log files split per-machine:</span>
        log <span class="token function">file</span> <span class="token operator">=</span> /var/log/samba/log.%m        <span class="token comment"># &#x6587;&#x4EF6;&#x540D;&#x79F0;</span>
        <span class="token comment"># maximum size of 50KB per log file, then rotate:</span>
        max log size <span class="token operator">=</span> <span class="token number">50</span>                <span class="token comment"># &#x5355;&#x4E2A;&#x65E5;&#x5FD7;&#x6587;&#x4EF6;&#x6700;&#x5927;&#x5927;&#x5C0F;</span>
<span class="token comment"># ----------------------- Standalone Server Options ------------------------</span>
        security <span class="token operator">=</span> user            <span class="token comment"># &#x7CFB;&#x7EDF;&#x7528;&#x6237;&#x5B89;&#x5168;&#x6A21;&#x5F0F;&#xFF0C;&#x4F7F;&#x7528;&#x7684;&#x662F;&#x7CFB;&#x7EDF;&#x7684;&#x7528;&#x6237;</span>
        passdb backend <span class="token operator">=</span> tdbsam            <span class="token comment"># &#x5BC6;&#x7801;&#x4E0D;&#x662F;&#x7CFB;&#x7EDF;&#x7528;&#x6237;&#x7684;&#x5BC6;&#x7801;</span>
</code></pre>
<ol>
<li>&#x68C0;&#x67E5;&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#x8BED;&#x6CD5;&#x9519;&#x8BEF;&#xFF0C;&#x4F7F;&#x7528;&#x547D;&#x4EE4;<code>testparm</code>&#x5373;&#x53EF;</li>
<li>&#x8BED;&#x6CD5;&#x68C0;&#x67E5;&#x65E0;&#x9519;&#x8BEF;&#x7684;&#x8BDD;&#xFF0C;&#x53EF;&#x4EE5;&#x76F4;&#x63A5;&#x542F;&#x52A8;samba&#x670D;&#x52A1;</li>
</ol>
<pre class="language-"><code class="lang-bash">systemctl start nmb smb
</code></pre>
<ol>
<li>&#x521B;&#x5EFA;&#x7528;&#x6237;</li>
</ol>
<pre class="language-"><code class="lang-bash"><span class="token function">useradd</span> smb            <span class="token comment"># &#x53EF;&#x4EE5;&#x4E0D;&#x6307;&#x5B9A;&#x7528;&#x6237;&#x5BC6;&#x7801;</span>
<span class="token comment"># &#x4F7F;&#x7528;&#x4F7F;&#x7528;smbpasswd&#x4E3A;&#x8BE5;&#x7528;&#x6237;&#x6307;&#x5B9A;samba&#x5BC6;&#x7801;</span>
smbpasswd -a smb
* &#x6CE8;&#x610F;&#xFF1A;&#x9996;&#x6B21;&#x521B;&#x5EFA;&#x7528;&#x6237;&#x7684;&#x65F6;&#x5019;&#x9700;&#x8981;&#x4F7F;&#x7528;<span class="token variable"><span class="token variable">`</span>-a<span class="token variable">`</span></span>&#x9009;&#x9879;
</code></pre>
<ol>
<li>&#x5BA2;&#x6237;&#x7AEF;&#x6302;&#x8F7D;samba</li>
</ol>
<pre class="language-"><code class="lang-bash"><span class="token comment"># &#x5217;&#x51FA;&#x670D;&#x52A1;&#x5668;&#x7AEF;&#x7684;samba&#x5171;&#x4EAB;&#x76EE;&#x5F55;</span>
smbclient -L <span class="token number">172.16</span>.122.132 -U smb
<span class="token comment"># &#x4EA4;&#x4E92;&#x5F0F;&#x547D;&#x4EE4;&#x884C;&#x8FDE;&#x63A5;&#x4F7F;&#x7528;samba</span>
smbclient //172.16.122.132/smb -U smb
</code></pre>
<h2 id="samba&#x5171;&#x4EAB;&#x76EE;&#x5F55;"><a name="samba&#x5171;&#x4EAB;&#x76EE;&#x5F55;" class="anchor-navigation-ex-anchor" href="#samba&#x5171;&#x4EAB;&#x76EE;&#x5F55;"><i class="fa fa-link" aria-hidden="true"></i></a>3.3. SAMBA&#x5171;&#x4EAB;&#x76EE;&#x5F55;</h2>
<ol>
<li>&#x7F16;&#x8F91;<code>smb.conf</code>&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#xFF0C;&#x6DFB;&#x52A0;&#x81EA;&#x5B9A;&#x4E49;&#x5171;&#x4EAB;&#x76EE;&#x5F55;</li>
</ol>
<pre class="language-"><code class="lang-bash"><span class="token comment"># &#x6DFB;&#x52A0;&#x4EE5;&#x4E0B;&#x5185;&#x5BB9;</span>
<span class="token comment">####</span>
<span class="token punctuation">[</span>sharing<span class="token punctuation">]</span>
    comment <span class="token operator">=</span> sharing samba files
    path <span class="token operator">=</span> /data/samba
    public <span class="token operator">=</span> <span class="token function">yes</span>
    writable <span class="token operator">=</span> <span class="token function">yes</span>
    browseable <span class="token operator">=</span>yes
<span class="token comment">####</span>
</code></pre>
<ol>
<li>&#x68C0;&#x67E5;&#x8BED;&#x6CD5;&#x9519;&#x8BEF;<code>testparm</code></li>
<li>&#x91CD;&#x542F;<code>nmb</code>&#x548C;<code>smb</code>&#x670D;&#x52A1;</li>
<li>&#x5BA2;&#x6237;&#x7AEF;&#x67E5;&#x770B;&#x5E76;&#x4F7F;&#x7528;</li>
</ol>
<pre class="language-"><code class="lang-bash"><span class="token comment"># &#x67E5;&#x770B;</span>
smbclient -L <span class="token number">172.16</span>.122.132 -U smb
<span class="token comment">#### &#x7ED3;&#x679C;</span>
Sharename       Type      Comment
        ---------       ----      -------
       <span class="token variable"><span class="token variable">`</span> sharing         Disk      sharing samba files<span class="token variable">`</span></span>
        IPC$            IPC       IPC Service <span class="token punctuation">(</span>Samba Server Version <span class="token number">4.9</span>.1<span class="token punctuation">)</span>
        smb             Disk      Home Directories
<span class="token comment">####</span>
<span class="token comment"># cli&#x4F7F;&#x7528;</span>
smbclient //172.16.122.132/sharing -U smb%123
</code></pre>
<ol>
<li>&#x53EF;&#x4EE5;&#x4F7F;&#x7528;facl&#x6765;&#x9488;&#x5BF9;&#x67D0;&#x4E9B;&#x7528;&#x6237;&#x8FDB;&#x884C;&#x6743;&#x9650;&#x63A7;&#x5236;</li>
</ol>
<h2 id="smbconf-&#x914D;&#x7F6E;&#x8BE6;&#x89E3;"><a name="smbconf-&#x914D;&#x7F6E;&#x8BE6;&#x89E3;" class="anchor-navigation-ex-anchor" href="#smbconf-&#x914D;&#x7F6E;&#x8BE6;&#x89E3;"><i class="fa fa-link" aria-hidden="true"></i></a>3.4. smb.conf &#x914D;&#x7F6E;&#x8BE6;&#x89E3;</h2>
<p><a href="smb.conf&#x8BE6;&#x89E3;.md">smb.conf&#x6587;&#x4EF6;&#x8BE6;&#x89E3;</a></p>
<h2 id="windowslinux&#x5BA2;&#x6237;&#x7AEF;&#x6302;&#x8F7D;samba"><a name="windowslinux&#x5BA2;&#x6237;&#x7AEF;&#x6302;&#x8F7D;samba" class="anchor-navigation-ex-anchor" href="#windowslinux&#x5BA2;&#x6237;&#x7AEF;&#x6302;&#x8F7D;samba"><i class="fa fa-link" aria-hidden="true"></i></a>3.5. Windows/Linux&#x5BA2;&#x6237;&#x7AEF;&#x6302;&#x8F7D;SAMBA</h2>
<p>&#x5BF9;&#x4E8E;Windows&#x5BA2;&#x6237;&#x7AEF;&#x67E5;&#x770B;Linux&#x670D;&#x52A1;&#x5668;&#x7AEF;&#x5171;&#x4EAB;&#x6587;&#x4EF6;&#x800C;&#x8A00;&#xFF1A;&#x53EF;&#x4EE5;&#x901A;&#x8FC7;<strong>&#x7F51;&#x9875;&#x6D4F;&#x89C8;&#x5668;</strong>&#x3001;<strong>&#x6211;&#x7684;&#x7535;&#x8111;</strong>&#x6216;&#x8005;<strong>&#x7F51;&#x4E0A;&#x90BB;&#x5C45;</strong>&#x76F4;&#x63A5;&#x4F7F;&#x7528;&#xFF0C;&#x5177;&#x4F53;&#x65B9;&#x6CD5;&#x662F;&#x5728;&#x5730;&#x5740;&#x680F;&#x8F93;&#x5165;</p>
<pre class="language-"><code class="lang-bash"><span class="token comment"># &#x4F7F;&#x7528;IP&#x8BBF;&#x95EE;</span>
<span class="token punctuation">\</span><span class="token punctuation">\</span><span class="token number">172.16</span>.122.133<span class="token punctuation">\</span><span class="token operator">&lt;</span>&#x5171;&#x4EAB;&#x76EE;&#x5F55;&#x540D;&#x79F0;<span class="token operator">&gt;</span>
<span class="token comment"># &#x4F7F;&#x7528;&#x57DF;&#x8BBF;&#x95EE;</span>
<span class="token punctuation">\</span><span class="token punctuation">\</span>ZONE<span class="token punctuation">\</span><span class="token operator">&lt;</span>&#x5171;&#x4EAB;&#x76EE;&#x5F55;&#x540D;&#x79F0;<span class="token operator">&gt;</span>
</code></pre>
<p>&#x5BF9;&#x4E8E;Linux&#x7528;&#x6237;&#x800C;&#x8A00;&#xFF1A;&#x6709;&#x4EE5;&#x4E0B;&#x4E09;&#x79CD;&#x65B9;&#x6CD5;</p>
<pre class="language-"><code class="lang-bash"><span class="token comment"># &#x65B9;&#x6CD5;&#x4E00;&#xFF1A;&#x4F7F;&#x7528;smbclient&#x5BA2;&#x6237;&#x7AEF;&#x5DE5;&#x5177;</span>
smbclient //172.16.122.133/<span class="token operator">&lt;</span>&#x5171;&#x4EAB;&#x76EE;&#x5F55;&#x540D;&#x79F0;<span class="token operator">&gt;</span> -U <span class="token operator">&lt;</span>USER_NAME<span class="token operator">&gt;</span>
<span class="token comment"># &#x65B9;&#x6CD5;&#x4E8C;&#xFF1A;&#x4F7F;&#x7528;mount&#x624B;&#x52A8;&#x6302;&#x8F7D;</span>
<span class="token function">mount</span> -t cifs  //172.16.122.133/<span class="token operator">&lt;</span>&#x5171;&#x4EAB;&#x76EE;&#x5F55;&#x540D;&#x79F0;<span class="token operator">&gt;</span> /mnt/samba -o <span class="token assign-left variable">username</span><span class="token operator">=</span><span class="token operator">&lt;</span>USER_NAME<span class="token operator">&gt;</span>
<span class="token comment"># &#x65B9;&#x6CD5;&#x4E09;&#xFF1A;&#x4F7F;&#x7528;`/etc/fstab`&#x5F00;&#x673A;&#x81EA;&#x52A8;&#x6302;&#x8F7D;&#xFF0C;&#x6DFB;&#x5165;&#x4EE5;&#x4E0B;&#x5185;&#x5BB9;</span>
<span class="token comment">####</span>
//172.16.122.133/<span class="token operator">&lt;</span>&#x5171;&#x4EAB;&#x76EE;&#x5F55;&#x540D;&#x79F0;<span class="token operator">&gt;</span>    /mnt/samba    cifs    defaults,_netdev,user<span class="token operator">=</span>suofeiya,password<span class="token operator">=</span>suofeiya <span class="token number">0</span> <span class="token number">0</span>

<span class="token comment"># &#x6216;&#x8005;</span>
//172.16.122.133/<span class="token operator">&lt;</span>&#x5171;&#x4EAB;&#x76EE;&#x5F55;&#x540D;&#x79F0;<span class="token operator">&gt;</span>    /mnt/samba    cifs    defaults,_netdev,credentials<span class="token operator">=</span>/etc/samba/pwd.txt <span class="token number">0</span> <span class="token number">0</span>
<span class="token comment"># `/etc/smaba/pwd.txt`&#x5185;&#x5BB9;</span>
<span class="token assign-left variable">username</span><span class="token operator">=</span>suofeiya
<span class="token assign-left variable">password</span><span class="token operator">=</span>suofeiya
<span class="token comment">####</span>
</code></pre>
<h1 id="pdbedit&#x3001;smbpasswd&#x3001;smbclient&#x7684;&#x4F7F;&#x7528;"><a name="pdbedit&#x3001;smbpasswd&#x3001;smbclient&#x7684;&#x4F7F;&#x7528;" class="anchor-navigation-ex-anchor" href="#pdbedit&#x3001;smbpasswd&#x3001;smbclient&#x7684;&#x4F7F;&#x7528;"><i class="fa fa-link" aria-hidden="true"></i></a>4. pdbedit&#x3001;smbpasswd&#x3001;smbclient&#x7684;&#x4F7F;&#x7528;</h1>
<h2 id="pdbedit&#x589E;&#x5220;&#x7528;&#x6237;----passdbtdb-&#x5E93;&#x4E2D;"><a name="pdbedit&#x589E;&#x5220;&#x7528;&#x6237;----passdbtdb-&#x5E93;&#x4E2D;" class="anchor-navigation-ex-anchor" href="#pdbedit&#x589E;&#x5220;&#x7528;&#x6237;----passdbtdb-&#x5E93;&#x4E2D;"><i class="fa fa-link" aria-hidden="true"></i></a>4.1. pdbedit(&#x589E;&#x5220;&#x7528;&#x6237; --&gt; passdb.tdb &#x5E93;&#x4E2D;)</h2>
<p>&#x53C2;&#x6570;&#x5217;&#x8868;&#xFF1A;</p>
<pre class="language-"><code class="lang-bash">&#x2013;a username        <span class="token comment"># &#x65B0;&#x5EFA;Samba&#x8D26;&#x6237;</span>
&#x2013;x username        <span class="token comment"># &#x5220;&#x9664;Samba&#x8D26;&#x6237;</span>
&#x2013;L                <span class="token comment"># &#x5217;&#x51FA;Samba&#x7528;&#x6237;&#x5217;&#x8868;&#xFF0C;&#x8BFB;&#x53D6;passdb.tdb&#x6570;&#x636E;&#x5E93;&#x6587;&#x4EF6;</span>
&#x2013;Lv                <span class="token comment"># &#x5217;&#x51FA;Samba&#x7528;&#x6237;&#x5217;&#x8868;&#x7684;&#x8BE6;&#x7EC6;&#x4FE1;&#x606F;</span>
&#x2013;c <span class="token string">&quot;[D]&quot;</span> &#x2013;u username        <span class="token comment"># &#x6682;&#x505C;&#x8BE5;Samba&#x7528;&#x6237;&#x8D26;&#x53F7;&#x7684;&#x4F7F;&#x7528;</span>
&#x2013;c <span class="token string">&quot;[]&quot;</span> &#x2013;u username        <span class="token comment"># &#x6062;&#x590D;&#x8BE5;Samba&#x7528;&#x6237;&#x8D26;&#x53F7;&#x7684;&#x4F7F;&#x7528;</span>
-t             <span class="token comment"># &#x4ECE;&#x6807;&#x51C6;&#x8F93;&#x51FA;&#x4E2D;&#x63A5;&#x53D7;&#x7528;&#x6237;&#x4FE1;&#x606F;&#xFF0C;&#x4E0D;&#x663E;&#x793A;&#x63D0;&#x793A;&#x7B26;</span>
</code></pre>
<h2 id="smbpasswd&#x589E;&#x5220;&#x7528;&#x6237;----&#x5355;&#x72EC;&#x6587;&#x4EF6;&#x4E2D;"><a name="smbpasswd&#x589E;&#x5220;&#x7528;&#x6237;----&#x5355;&#x72EC;&#x6587;&#x4EF6;&#x4E2D;" class="anchor-navigation-ex-anchor" href="#smbpasswd&#x589E;&#x5220;&#x7528;&#x6237;----&#x5355;&#x72EC;&#x6587;&#x4EF6;&#x4E2D;"><i class="fa fa-link" aria-hidden="true"></i></a>4.2. smbpasswd(&#x589E;&#x5220;&#x7528;&#x6237; --&gt; &#x5355;&#x72EC;&#x6587;&#x4EF6;&#x4E2D;)</h2>
<p>&#x53C2;&#x6570;&#x5217;&#x8868;&#xFF1A;</p>
<pre class="language-"><code class="lang-bash">-a username            <span class="token comment"># &#x5411;smbpasswd&#x6587;&#x4EF6;&#x4E2D;&#x6DFB;&#x52A0;&#x7528;&#x6237;&#xFF0C;&#x9996;&#x6B21;&#x6DFB;&#x52A0;&#x7528;&#x6237;&#x65F6;&#x9700;&#x8981;&#x52A0;&#x5165;&#x8BE5;&#x53C2;&#x6570;</span>
-c /<span class="token environment constant">PATH</span>/TO/CONF_FILE            <span class="token comment"># &#x6307;&#x5B9A;samba&#x7684;&#x914D;&#x7F6E;&#x6587;&#x4EF6;</span>
-x             <span class="token comment"># &#x4ECE;smbpasswd&#x6587;&#x4EF6;&#x4E2D;&#x5220;&#x9664;&#x7528;&#x6237;</span>
-d            <span class="token comment"># &#x5728;smbpasswd&#x6587;&#x4EF6;&#x4E2D;&#x7981;&#x7528;&#x6307;&#x5B9A;&#x7684;&#x7528;&#x6237;</span>
-e            <span class="token comment"># &#x5728;smbpasswd&#x6587;&#x4EF6;&#x4E2D;&#x6FC0;&#x6D3B;&#x6307;&#x5B9A;&#x7684;&#x7528;&#x6237;</span>
-n            <span class="token comment"># &#x5C06;&#x6307;&#x5B9A;&#x7684;&#x7528;&#x6237;&#x7684;&#x5BC6;&#x7801;&#x7F6E;&#x7A7A;</span>
</code></pre>
<h2 id="smbclient&#x5BA2;&#x6237;&#x7AEF;&#x5DE5;&#x5177;"><a name="smbclient&#x5BA2;&#x6237;&#x7AEF;&#x5DE5;&#x5177;" class="anchor-navigation-ex-anchor" href="#smbclient&#x5BA2;&#x6237;&#x7AEF;&#x5DE5;&#x5177;"><i class="fa fa-link" aria-hidden="true"></i></a>4.3. smbclient(&#x5BA2;&#x6237;&#x7AEF;&#x5DE5;&#x5177;)</h2>
<p>&#x5E38;&#x7528;&#x7EC4;&#x5408;&#xFF1A;</p>
<pre class="language-"><code class="lang-bash">smbclient -L <span class="token number">172.16</span>.122.133 -U username%password    <span class="token comment"># &#x5217;&#x51FA;samba&#x5171;&#x4EAB;&#x670D;&#x52A1;&#x5668;&#x7AEF;&#x7684;&#x6587;&#x4EF6;&#x5217;&#x8868;</span>
* &#x670D;&#x52A1;&#x5668;&#x7AEF;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;smbstatus&#x67E5;&#x770B;samba&#x5171;&#x4EAB;&#x60C5;&#x51B5;
smbclient  //172.16.122.133/data/smaba  -U username%password    <span class="token comment"># &#x50CF;ftp&#x4E00;&#x6837;&#xFF0C;&#x4F7F;&#x7528;smbclient &#x4E0E;samba&#x670D;&#x52A1;&#x5668;&#x8FDB;&#x884C;&#x4EA4;&#x4E92;&#x64CD;&#x4F5C;</span>
smbclient -c <span class="token string">&quot;ls&quot;</span>  //172.16.122.133//data/smaba  -U username%password    <span class="token comment"># &#x4E0D;&#x8FDB;&#x5165;&#x4EA4;&#x4E92;&#x754C;&#x9762;&#xFF0C;&#x76F4;&#x63A5;&#x663E;&#x793A;&#x5171;&#x4EAB;&#x76EE;&#x5F55;&#x4E0B;&#x7684;&#x5217;&#x8868;&#x6587;&#x4EF6;</span>
</code></pre>
<h1 id="samba-swatsmaba&#x7684;web&#x7BA1;&#x7406;&#x5DE5;&#x5177;"><a name="samba-swatsmaba&#x7684;web&#x7BA1;&#x7406;&#x5DE5;&#x5177;" class="anchor-navigation-ex-anchor" href="#samba-swatsmaba&#x7684;web&#x7BA1;&#x7406;&#x5DE5;&#x5177;"><i class="fa fa-link" aria-hidden="true"></i></a>5. samba-swat(SMABA&#x7684;WEB&#x7BA1;&#x7406;&#x5DE5;&#x5177;)</h1>
<h2 id="swat&#x7684;&#x5B89;&#x88C5;"><a name="swat&#x7684;&#x5B89;&#x88C5;" class="anchor-navigation-ex-anchor" href="#swat&#x7684;&#x5B89;&#x88C5;"><i class="fa fa-link" aria-hidden="true"></i></a>5.1. SWAT&#x7684;&#x5B89;&#x88C5;</h2>
<pre class="language-"><code class="lang-bash"><span class="token comment"># &#x9996;&#x5148;&#x9700;&#x8981;xinetd&#xFF0C;&#x56E0;&#x4E3A;swat&#x5DE5;&#x5177;&#x662F;&#x5D4C;&#x5957;&#x5728;xinetd&#x8D85;&#x7EA7;&#x5B88;&#x62A4;&#x8FDB;&#x7A0B;&#x4E2D;&#xFF0C;&#x9700;&#x8981;&#x7528;xinetd&#x6765;&#x7BA1;&#x7406;</span>
yum <span class="token function">install</span> -y xinetd
<span class="token comment"># &#x6253;&#x5F00;samba-swat&#x7684;&#x4E0B;&#x8F7D;&#x7F51;&#x7AD9;</span>
* http://www.rpmfind.net/linux/rpm2html/search.php?query<span class="token operator">=</span>samba-swat<span class="token punctuation">(</span>x86-64<span class="token punctuation">)</span>
* https://centos.pkgs.org/7/centos-x86_64/samba-4.9.1-6.el7.x86_64.rpm.html
<span class="token comment"># &#x5728;&#x670D;&#x52A1;&#x5668;&#x7AEF;&#x8FDB;&#x884C;&#x5B89;&#x88C5;</span>
yum <span class="token function">install</span> -y http://www.rpmfind.net/linux/mageia/distrib/5/x86_64/media/core/updates/samba-swat-3.6.25-2.9.mga5.x86_64.rpm
</code></pre>
<h2 id="&#x914D;&#x7F6E;&#x4E0E;&#x542F;&#x52A8;"><a name="&#x914D;&#x7F6E;&#x4E0E;&#x542F;&#x52A8;" class="anchor-navigation-ex-anchor" href="#&#x914D;&#x7F6E;&#x4E0E;&#x542F;&#x52A8;"><i class="fa fa-link" aria-hidden="true"></i></a>5.2. &#x914D;&#x7F6E;&#x4E0E;&#x542F;&#x52A8;</h2>
<pre class="language-"><code class="lang-bash"><span class="token comment"># &#x7F16;&#x8F91;/etc/xinetd.d/swat&#x6587;&#x4EF6;</span>
<span class="token comment">#### </span>
<span class="token comment"># default: off</span>
<span class="token comment"># description: SWAT is the Samba Web Admin Tool. Use swat \</span>
<span class="token comment">#              to configure your Samba server. To use SWAT, \</span>
<span class="token comment">#              connect to port 901 with your favorite web browser.</span>
<span class="token function">service</span> swat
<span class="token punctuation">{</span>
        port            <span class="token operator">=</span> <span class="token number">901</span>
        socket_type     <span class="token operator">=</span> stream
        <span class="token function">wait</span>            <span class="token operator">=</span> no
        only_from       <span class="token operator">=</span> <span class="token number">0.0</span>.0.0    <span class="token comment"># &#x8868;&#x793A;&#x5141;&#x8BB8;&#x4EFB;&#x610F;ip&#x7684;&#x4E3B;&#x673A;&#x8BBF;&#x95EE;</span>
        user            <span class="token operator">=</span> root
        server          <span class="token operator">=</span> /usr/sbin/swat
        log_on_failure  <span class="token operator">+=</span> USERID
        disable         <span class="token operator">=</span> no    <span class="token comment"># &#x628A;&#x8BE5;&#x9879;&#x6539;&#x4E3A;no &#xFF0C;&#x4EE3;&#x8868;&#x542F;&#x7528;swat &#x529F;&#x80FD;</span>
<span class="token punctuation">}</span>
<span class="token comment">####</span>
</code></pre>
<p>&#x91CD;&#x542F;<code>xinetd</code>&#x670D;&#x52A1;&#x6765;&#x542F;&#x52A8;<code>swat</code></p>
<pre class="language-"><code class="lang-bash">systemctl restart xinetd
</code></pre>
<footer class="page-footer"><span class="copyright">Copyright &#xA9; AGou 2020 all right reserved&#xFF0C;powered by Gitbook</span><span class="footer-modification">&#x8BE5;&#x6587;&#x4EF6;&#x4FEE;&#x8BA2;&#x65F6;&#x95F4;&#xFF1A;
2020-03-02 20:42:24
</span></footer>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="FTP.html" class="navigation navigation-prev " aria-label="Previous page: FTP">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="../Linux_Tools/" class="navigation navigation-next " aria-label="Next page: Linux工具">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"SAMBA","level":"1.5.2","depth":2,"next":{"title":"Linux工具","level":"1.6","depth":1,"path":"Linux_Tools/README.md","ref":"Linux_Tools/README.md","articles":[{"title":"fzf工具","level":"1.6.1","depth":2,"path":"Linux_Tools/fzf工具.md","ref":"Linux_Tools/fzf工具.md","articles":[]},{"title":"Linux工具集合","level":"1.6.2","depth":2,"path":"Linux_Tools/工具集合.md","ref":"Linux_Tools/工具集合.md","articles":[]}]},"previous":{"title":"FTP","level":"1.5.1","depth":2,"path":"Linux_FileSystem/FTP.md","ref":"Linux_FileSystem/FTP.md","articles":[]},"dir":"ltr"},"config":{"plugins":["github@^2.0.0","edit-link@^2.0.2","anchors@^0.7.1","include-codeblock@^3.0.2","tbfed-pagefooter@^0.0.1","expandable-chapters-small@^0.1.7","anchor-navigation-ex@0.1.8","prism","-highlight","insert-logo","-lunr","-search","search-pro","splitter","lightbox","github-buttons","-sharing","sharing-plus","donate","code","-klipse","livereload"],"root":".","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"tbfed-pagefooter":{"copyright":"Copyright © AGou 2020","modify_label":"该文件修订时间：","modify_format":"YYYY-MM-DD HH:mm:ss"},"prism":{"css":["prismjs/themes/prism-tomorrow.css"]},"github":{"url":"https://github.com/AGou-ops"},"livereload":{},"splitter":{},"search-pro":{},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"code":{"copyButtons":true},"donate":{"alipay":"https://agou-ops.github.io/images/alipay.png","alipayText":"支付宝打赏","button":"打赏","title":"","wechat":"https://agou-ops.github.io/images/wechatpay.png","wechatText":"微信打赏"},"fontsettings":{"theme":"white","family":"sans","size":2},"anchor-navigation-ex":{"isRewritePageTitle":true,"tocLevel1Icon":"fa fa-hand-o-right","tocLevel2Icon":"fa fa-hand-o-right","tocLevel3Icon":"fa fa-hand-o-right"},"lightbox":{"jquery":true,"sameUuid":false},"github-buttons":{"repo":"AGou-ops/myStudyNote","types":["star","watch","fork"],"size":"small"},"expandable-chapters-small":{},"include-codeblock":{"check":false,"edit":true,"fixlang":false,"lang":"","template":"ace","theme":"chrome","unindent":true},"sharing":{"qq":true,"all":["douban","facebook","google","hatenaBookmark","instapaper","linkedin","twitter","weibo","messenger","qq","qzone","viber","vk","weibo","pocket","stumbleupon","whatsapp"],"douban":false,"facebook":false,"weibo":true,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":false,"messenger":false,"line":false,"vk":false,"pocket":false,"google":false,"viber":false,"stumbleupon":false,"qzone":true,"linkedin":false},"edit-link":{"label":"Edit This Page","base":"https://github.com/AGou-ops/myStudyNote"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":true},"anchors":{},"insert-logo":{"style":"background: none; max-height: 50px; min-height: 50px","url":"https://s2.ax1x.com/2019/12/10/QBD0xO.jpg"}},"theme":"default","author":"AGou","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"AGou's StudyNote","language":"zh-hans","output.name":"site","links":{"sidebar":{"◆点击进入我的个人博客":"http://agou-ops.github.io"}},"gitbook":"3.2.3","description":"岂能尽如人意，但求无愧我心。"},"file":{"path":"Linux_FileSystem/SAMBA.md","mtime":"2020-03-02T12:42:24.292Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-03-02T12:42:32.383Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-github/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-edit-link/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-insert-logo/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lightbox/js/lightbox.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-github-buttons/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing-plus/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-donate/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-code/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

